.build:
  tags:
    - shell
  script:
    - GUIX_PACKAGE_PATH=. ~/.config/guix/current/bin/guix build --no-grafts --fallback $(grep define-public $FILE | cut -f2 -d' ')

admin:
  extends: .build
  variables:
    FILE: wigust/packages/admin.scm

databases:
  extends: .build
  variables:
    FILE: wigust/packages/databases.scm

emacs:
  extends: .build
  variables:
    FILE: wigust/packages/emacs.scm

game-development:
  extends: .build
  variables:
    FILE: wigust/packages/game-development.scm

golang:
  extends: .build
  variables:
    FILE: wigust/packages/golang.scm

guile:
  extends: .build
  variables:
    FILE: wigust/packages/guile.scm

guix:
  extends: .build
  variables:
    FILE: wigust/packages/guix.scm

lisp:
  extends: .build
  variables:
    FILE: wigust/packages/lisp.scm

pulseaudio:
  extends: .build
  variables:
    FILE: wigust/packages/pulseaudio.scm

python:
  extends: .build
  variables:
    FILE: wigust/packages/python.scm

raleigh:
  extends: .build
  variables:
    FILE: wigust/packages/raleigh.scm

ruby:
  extends: .build
  variables:
    FILE: wigust/packages/ruby.scm

spectre-meltdown-checker:
  extends: .build
  variables:
    FILE: wigust/packages/spectre-meltdown-checker.scm

urho3d:
  extends: .build
  variables:
    FILE: wigust/packages/urho3d.scm

version-control:
  extends: .build
  variables:
    FILE: wigust/packages/version-control.scm

virtualization:
  extends: .build
  variables:
    FILE: wigust/packages/virtualization.scm

web:
  extends: .build
  variables:
    FILE: wigust/packages/web.scm

xdisorg:
  extends: .build
  variables:
    FILE: wigust/packages/xdisorg.scm

xorg:
  extends: .build
  variables:
    FILE: wigust/packages/xorg.scm

zabbix:
  extends: .build
  variables:
    FILE: wigust/packages/zabbix.scm
